package com.example.demo.threadlocal;

import lombok.AllArgsConstructor;
import lombok.Data;

@Data //不包含有参构造函数
@AllArgsConstructor  //当和@Data共用时，无参构造函数需重写
public class Apple {

    private int AppleID;

    /*public Apple(int appleID) {
        AppleID = appleID;
    }*/

    public Apple() {
    }
}
